using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// EventArgs for ToolbarButtonClicked Event
/// </summary>
public class NewsToolbarButtonClickedEventArgs : EventArgs
{
    private string buttonName;
    private NewsToolbarButton buttonCode;

    public string ButtonName
    {
        get { return buttonName; }
        set { buttonName = value; }
    }

    public NewsToolbarButton ButtonCode
    {
        get { return buttonCode; }
        set { buttonCode = value; }
    }

    public NewsToolbarButtonClickedEventArgs(string pButtonName, NewsToolbarButton pButtonCode)
    {
        this.buttonName = pButtonName;
        this.buttonCode = pButtonCode;
    }
}
